dm: i2c: Add a function to find out the chip offset length
authorSimon Glass <[email protected]>
Mon, 4 May 2015 17:30:58 +0000 (11:30 -0600)
committerSimon Glass <[email protected]>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
commit01501804fdab0c80e31d1aa221d8afb79d436e52
treec0dcfb6bb523e774fa33139e91d8c48b016e15cf
parent59aa9df383b85a7701cefbe997d242d79b452e3b
dm: i2c: Add a function to find out the chip offset length

We can currently set this but there is no API function to get it. Add one.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
Acked-by: Heiko Schocher<[email protected]>
drivers/i2c/i2c-uclass.c
include/i2c.h